﻿
namespace Aeon.Emulator.Decoding.Recompiler.OperandCompilers
{
    /// <summary>
    /// Abstract base for operand compilers.
    /// </summary>
    internal abstract class OperandCompiler
    {
        /// <summary>
        /// Initializes a new instance of the OperandCompiler class.
        /// </summary>
        protected OperandCompiler()
        {
        }

        /// <summary>
        /// Compiles the operand in the current context.
        /// </summary>
        /// <param name="context">Current compiler context.</param>
        public abstract void Compile(CompilerContext context);
    }
}
